第16步:现在我们来计算、存储和说出小猫在木星上的重量!
- 将另一个 Return Variable 拖动到函数外部,并将其命名为 kitty_jupiter_weight。
- 将参数值 kitty 赋予函数 get_jupiter_weight。
- 使用 Say 让 kitty_sprite 说出它在木星上的重量。不要忘记使用 str()。
- 将 Jupiter 拖动到程序中。使用 Wait 让程序暂停 3 秒。
To navigate the page using the TAB key, first press ESC to exit the code editor.